<template>
	<view>
	   <view class="user-agreement" v-if="agreementName === 'user'">
	   	  用户协议
	   </view>
	   <view class="privacy-agreement" v-else>
	   	  隐私协议
	   </view>
	</view>
</template>

<script setup lang="ts">
	const agreementName = ref('')
	onLoad((options)=>{
		console.log(options)
		agreementName.value = options.type
	})
</script>

<style lang="scss" scoped>

</style>
